﻿
@model LoginViewModel
@{
    ViewData["Title"] = "登录";
    ViewData["Description"] = $"登录这个网站";
    ViewData["Image"] = "";
}

@section head {
    <link rel="stylesheet" href="/css/login.scss" />
}
<div class="row">
     <div class="col-md-4 col-md-offset-2">
        <section>
            <form asp-route-returnurl="@ViewData["ReturnUrl"]" method="post">
                <h4>用户登录</h4>
                <hr />
                <div asp-validation-summary="All" class="text-danger"></div>
                <div class="form-group">
                    <label asp-for="UserName">用户名</label>
                    <input asp-for="UserName" class="form-control" />
                    <span asp-validation-for="UserName" class="text-danger"></span>
                </div>
                <div class="form-group">
                    <label asp-for="Password">密码</label>
                    <input asp-for="Password" class="form-control" />
                    <span asp-validation-for="Password" class="text-danger"></span>
                </div>
                <div class="form-group">
                    <div class="checkbox">
                        <label asp-for="Remember">
                            <input asp-for="Remember" />
                            @Html.DisplayNameFor(m => m.Remember)
                        </label>
                    </div>
                </div>
                <div class="form-group">
                    <button type="submit" class="btn btn-default">登录</button>
                </div>
                
            </form>
        </section>
    </div>
</div>

